package com.zhouyipeng;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class LocalDate0721 {

    public static void main(String[] args) {

        LocalDate date = LocalDate.now();

        LocalDateTime dateTime = LocalDateTime.now();

        LocalDate date1 = date.minusDays(1);
        System.out.println(date);
        System.out.println(date1);


    }
}
